#include <stdio.h>
#include <stdlib.h>
#include "BinSTree.h"

int main()
{
    BinSearchTree tree;
    BST_create(&tree, 66);
    BST_insert(&tree, 52);
    BST_insert(&tree, 5);
    BST_insert(&tree, 66);
    BST_insert(&tree, 443);
    BST_rowDisplay(tree);

    ptrNode parent =  BST_parent(tree, 66);
    parent==NULL ? printf("root has no parent\n") : printf("5's parent = [%d] 0x%x\n,", parent->value, parent);

    return 0;
}






